import request from '@/plugins/request';
// 水印列表
export function toolWaterList(data) {
    return request({
      url: "/v1/buss/tool-water/list",
      method: "get",
      params: data,
    });
}
  
  //新增水印
export function createToolWater(data) {
    return request({
        url: "/v1/buss/tool-water/create",
        method: "post",
        data,
    });
}
  //删除水印
  export function delToolWater(data) {
    return request({
        url: "/v1/buss/tool-water/delete",
        method: "post",
        data,
    });
}
// 水印详情
export function toolWaterInfo(data) {
    return request({
      url: "/v1/buss/tool-water/edit-info",
      method: "get",
      params: data,
    });
}
//编辑水印
export function updateToolWater(data) {
    return request({
        url: "/v1/buss/tool-water/update",
        method: "post",
        data,
    });
}
//上传文件
export function uploadFile(data,that) {
  return request({
      url: "/common/file/upload",
      method: "post",
      isUpload:true,
      data, 
      signal:that.controller.signal
  });
}